import { arrayMove as dndKitArrayMove } from "@dnd-kit/sortable";


export default class ArrayUtil {
    public static arrayMove<T = any>(array: T[], oldIndex: number, newIndex: number) {
        return dndKitArrayMove(array, oldIndex, newIndex);
    }
};
